package com.yc.jpyy.jcanjuan.dao;

import java.util.Map;
import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.dao.BaseDao;

public interface JCAnJuanDao extends BaseDao {
	
	int addJCAnJuan(Map<String, Object> paramsMap)throws DataAccessException;
    
    Map<String, Object> selectJCAnJuanById(Map<String, Object> paramsMap)throws DataAccessException;

    Map<String, Object> selectJCAnJuanByJcid(Map<String, Object> paramsMap)throws DataAccessException;
    
    int updateJCAnJuan(Map<String, Object> paramsMap)throws DataAccessException; 
    
    Map<String, Object> checkTypeIsHave(Map<String, Object> paramsMap)throws DataAccessException;
    
    int updateNum(Map<String, Object> paramsMap)throws DataAccessException;
    
    int addType(Map<String, Object> paramsMap)throws DataAccessException;
    
    int revertJcajNum(Map<String, Object> paramsMap)throws DataAccessException;
    
    int updateCancelNum(Map<String, Object> paramsMap)throws DataAccessException;
    
}
